package com.ruoyi.yijing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约人工服务对象 yj_yu_yue
 * 
 * @author ruoyi
 * @date 2024-01-22
 */
public class YjYuYue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 姓 */
    @Excel(name = "姓")
    private String firstName;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 付款状态（1付款，0未付款） */
    @Excel(name = "付款状态", readConverterExp = "1=付款，0未付款")
    private String payStatus;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerId;

    /** 客户卜卦记录ID */
    @Excel(name = "客户卜卦记录ID")
    private Long customerGuaId;

    /** 客户留言 */
    @Excel(name = "客户留言")
    private String msg;

    /** 处理状态(1已联系客户,0未联系) */
    @Excel(name = "处理状态(1已联系客户,0未联系)")
    private String processStatus;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processTime;

    /** 处理备注 */
    @Excel(name = "处理备注")
    private String processRemark;

    /** 处理人 */
    @Excel(name = "处理人")
    private String processName;

    private String categoryName;

    private String guaName;

    private YjCustomerGua customerGua;

    public YjCustomerGua getCustomerGua() {
        return customerGua;
    }

    public void setCustomerGua(YjCustomerGua customerGua) {
        this.customerGua = customerGua;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getGuaName() {
        return guaName;
    }

    public void setGuaName(String guaName) {
        this.guaName = guaName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFirstName(String firstName) 
    {
        this.firstName = firstName;
    }

    public String getFirstName() 
    {
        return firstName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setPayStatus(String payStatus) 
    {
        this.payStatus = payStatus;
    }

    public String getPayStatus() 
    {
        return payStatus;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    public Long getCustomerGuaId() {
        return customerGuaId;
    }

    public void setCustomerGuaId(Long customerGuaId) {
        this.customerGuaId = customerGuaId;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg()
    {
        return msg;
    }
    public void setProcessStatus(String processStatus) 
    {
        this.processStatus = processStatus;
    }

    public String getProcessStatus() 
    {
        return processStatus;
    }
    public void setProcessTime(Date processTime) 
    {
        this.processTime = processTime;
    }

    public Date getProcessTime() 
    {
        return processTime;
    }
    public void setProcessRemark(String processRemark) 
    {
        this.processRemark = processRemark;
    }

    public String getProcessRemark() 
    {
        return processRemark;
    }
    public void setProcessName(String processName) 
    {
        this.processName = processName;
    }

    public String getProcessName() 
    {
        return processName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("firstName", getFirstName())
            .append("sex", getSex())
            .append("payStatus", getPayStatus())
            .append("phone", getPhone())
            .append("customerId", getCustomerId())
            .append("customerGuaId", getCustomerGuaId())
            .append("msg", getMsg())
            .append("processStatus", getProcessStatus())
            .append("processTime", getProcessTime())
            .append("processRemark", getProcessRemark())
            .append("processName", getProcessName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
